home *** CD-ROM | disk | FTP | other *** search
/ Interactive Web Graphics with Shout 3D / Interactive Web Graphics With Shout 3D.iso / pc / Code / Chapter05 / reflect.S3D < prev   
Text File  |  2000-09-02  |  895b  |  42 lines

  1. Background {
  2.     color 0 0 0
  3. }
  4. DEF Box01 Transform {
  5.     translation 0 0 0
  6.     children [
  7.         Shape {
  8.             appearance [
  9.                 MultiAppearance {
  10.                     material Material {
  11.                         diffuseColor 0.1098 0.1098 0.6941
  12.                     }
  13.                     environmentMap  EnvironmentSphereMap {
  14.                         texture ImageTexture {
  15.                             url "images/shared/wooden_stage_bg.jpg"
  16.                         }
  17.                     }
  18.                 }
  19.             ]
  20.             geometry MultiMesh {
  21.                 coord DEF Box01-COORD Coordinate {
  22.                     point [
  23.                         -50 0 50 50 0 50 -50 0 -50 50 0 -50 -50 100 50 50 100 50 -50 100 -50 50 100 -50
  24.                     ]
  25.                 }
  26.                 coordIndex [
  27.                     0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
  28.                     2 0 4 -1 4 6 2 -1
  29.                 ]
  30.                 smoothingIndex [
  31.                     2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
  32.                 ]
  33.                 appearanceIndex [
  34.                     1 1 0 0 4 4 3 3 5 5 2 2
  35.                 ]
  36.                 textureMappings [
  37.                 ]
  38.             }
  39.         }
  40.     ]
  41. }
  42.